/*
  ==============================================================================

  ==============================================================================
*/

#ifndef __IMAGEHOLDER__
#define __IMAGEHOLDER__

#include "../includes/includes.h"


class ImageHolder : public Component
{
public:
    //==============================================================================
    ImageHolder (Image * img);
    ~ImageHolder();

    void paint (Graphics& g);
    void resized();

	void setMouseDown(const bool& down);
    //==============================================================================
    juce_UseDebuggingNewOperator

private:
    Path internalPath1;
	int size;

	Image* image;

	bool isMouseDown;

    //==============================================================================
    // (prevent copy constructor and operator= being generated..)
    ImageHolder (const ImageHolder&);
    const ImageHolder& operator= (const ImageHolder&);
};


#endif   // __ImageHolder__
